package com.ftg.learn.chapter12;

import java.util.Base64;

/**
 * 题
 *
 * @author kangjx
 * @version 1.0
 * @date 2023/2/13 下午2:41
 */
public class Test {
    int m = 5;

    public void some(int x) {
        m = x;
    }

    public static void main(String args[]) {
        new Demo().some(7);

      String  s1="Hello";
      String  s2="Hello";
      if(s1==s2)
            System.out.println("s1= =s2");

      if (s1.equals(s2))
          System.out.println("s1.equals(s2) ");
      //语法无错误
        System.out.println(2 / 0.0);
    }
}

class Demo extends Test {
    int m = 8;

    public void some(int x) {
        super.some(x);
        System.out.println(this.m);
        System.out.println(super.m);
    }
}
